// pages/public/sharetab.js
const app = getApp();
var share = require("../../utils/share.js");
Page({

    /**
     * 页面的初始数据
     */
    data: {
        nararr:[],
    },
    onShow(){
        var that = this;
        var phone = wx.getStorageSync('tel');
        share.wxRequest('crmapi/user/frontMenuList', { phone: phone }, function (res) {
            if (Number(res.data.errcode) == 0) {
                var data = res.data.data;
                // console.log(data);
            }

        })
    },
    
    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {
        var that = this;

    },
})